package org.xbs.demo1.pojo;

import lombok.Data;

import java.util.List;

//分页结果封装类
@Data
public class PageResult<T> {
    private Integer total;
    private List<T> items;
    public PageResult(Integer total, List<T> items) {
        this.total = total;
        this.items = items;
    }
}
